package com.itheima.app;

import com.itheima.dao.UserDao;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test_exe05 {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext app = new ClassPathXmlApplicationContext("exe05-application-user.xml");
        UserDao userDao = (UserDao) app.getBean("userDao");
        userDao.save();
    }
}
